<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Head -->
<head>
<meta charset="utf-8" />
<title>${session.SOFT_NAME }_智能办公系统</title>
<meta name="description" content="Dashboard" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<%include("../../../resapi/style.html"){}%>
<link rel="stylesheet" href="/module/zTree_v3/css/bootstrapStyle/bootstrapStyle.css" type="text/css">
<link href="/module/bootstrap-table/bootstrap-table.css" rel="stylesheet" />
<link rel="stylesheet" type="text/css" href="/module/jeDate/jedate.css" />
<style type="text/css">
.fa{
margin-right: 20px;
cursor: pointer;
}
text-align
</style>
</head>
<body style="overflow-y: auto;">
	<div class="page-body" style="padding: 4px 0px 0px 0px">
		<div class="main-container container-fluid">
			<div class="page-container">
				<div class="col-md-12 col-sm-12 col-xs-12" style="padding: 0px">
					<div class="tabbable">
						<ul class="nav nav-tabs tabs-flat" id="myTab11" style="background-image: url('/gobal/img/tb_header.png'); background-size: 34px 60px;">
							<li class=""><a href="/app/core/bpm/bpmbiset" aria-expanded="false">BPM报表管理</a></li>
							<li class="active"><a href="/app/core/bpm/bpmbiset?view=create" aria-expanded="true">BPM报表创建</a></li>
						</ul>
						<div class="tab-content tabs-flat" style="padding: 0px;">
							<div class="col-md-12 col-sm-12 col-xs-12">
								<div class="row widget-body" style="padding:0px;">
                            <div id="simplewizard" class="wizard" data-target="#simplewizard-steps">
                                <ul class="steps">
                                    <li data-target="#simplewizardstep1" class="active"><span class="step">1</span>基本属性设置<span class="chevron"></span></li>
                                    <li data-target="#simplewizardstep2"><span class="step">2</span>查询条件设置<span class="chevron"></span></li>
                                    <li data-target="#simplewizardstep3"><span class="step">3</span>统计报表设置<span class="chevron"></span></li>
                                </ul>
                            </div>
                            <div class="step-content" id="simplewizard-steps">
                                <div class="step-pane active" id="simplewizardstep1">
                                	<form class="form-horizontal form-bordered" id="from">
                                	<div class="form-group">
											<label class="col-sm-1 control-label no-padding-right">排序号：</label>
											<div class="col-sm-5">
												<input type="number" class="form-control" id="sortNo" name="sortNo" placeholder="排序号" maxlength="200">
											</div>
										</div>
										<div class="form-group">
											<label class="col-sm-1 control-label no-padding-right">报表名称：</label>
											<div class="col-sm-5">
												<input type="text" class="form-control" id="title" name="title" placeholder="报表名称" maxlength="200">
											</div>
										</div>
										<div class="form-group">
											<label class="col-sm-1 control-label no-padding-right">联关流程：</label>
											<div class="col-sm-5">
												<select class="form-control" id="flowId" name="flowId"></select>
											</div>
										</div>
										<div class="form-group">
											<label class="col-sm-1 control-label no-padding-right">查询权限(人员)：</label>
											<div class="col-sm-5">
												<input type="text" class="form-control" id="userPriv" name="userPriv" placeholder="查询权限(人员)" readonly="readonly" opt-id="userPriv" onclick="selectUser(this,'true');">
											</div>
										</div>
										<div class="form-group">
											<label class="col-sm-1 control-label no-padding-right">查询权限(部门)：</label>
											<div class="col-sm-5">
												<input type="text" class="form-control" id="deptPriv" name="deptPriv" placeholder="查询权限(部门)" readonly="readonly" opt-id="deptPriv" onclick="selectDept(this,'true');">
											</div>
										</div>
										<div class="form-group">
											<label class="col-sm-1 control-label no-padding-right">查询权限(职务)：</label>
											<div class="col-sm-5">
												<input type="text" class="form-control" id="levelPriv" name="levelPriv" placeholder="查询权限(职务)" readonly="readonly" opt-id="levelPriv" onclick="selectUserLevel(this,'true');">
											</div>
										</div>
										<div class="form-group">
											<label class="col-sm-1 control-label no-padding-right">备注：</label>
											<div class="col-sm-5">
												<textarea rows="3" cols="" name="remark" id="remark" class="form-control"></textarea>
											</div>
										</div>
									</form>
                                </div>
                                <div class="step-pane" id="simplewizardstep2" align="center">
                                	<form class="form-horizontal">
                                	<div align="right" style="width:80%;">
                                		<a href="javascript:void(0);" class="btn btn-purple js-queryfield">添加</a>
                                	</div>
									<div align="center" style="width:80%;">
										<table class="table table-hover table-striped table-bordered">
											<thead>
												<tr>
													<th width="25%">表单字段</th>
													<th width="25%">显示字段</th>
													<th width="25%">操作</th>
												</tr>
											</thead>
											<tbody id="queryFields"></tbody>
									</table>
									</div>
									</form>
                                </div>
                                <div class="step-pane" id="simplewizardstep3" align="center">
										<form class="form-horizontal">
                                	<div align="right" style="width:80%;">
                                		<a href="javascript:void(0);" class="btn btn-purple js-tablefield">添加</a>
                                	</div>
									<div align="center" style="width:80%;">
										<table class="table table-hover table-striped table-bordered">
											<thead>
												<tr>
													<th width="25%">表单字段</th>
													<th width="25%">显示字段</th>
													<th width="25%">操作</th>
												</tr>
											</thead>
											<tbody id="tableFields"></tbody>
									</table>
									</div>
									</form>
									<table class="table table-hover table-striped table-bordered" style="width:80%;">
									<tr>
												<td width="25%">是否允许导出号：</td>
												<td width="75%">
												<div class="radio">
                                                    <label>
                                                        <input name="importFlag" type="radio" checked="checked" value="1">
                                                        <span class="text">允许</span>
                                                    </label>
                                                      <label>
                                                        <input name="importFlag" type="radio" value="2">
                                                        <span class="text">不允许</span>
                                                    </label>
                                             </div></td>
												</tr>
											<tr>
											<tr>
												<td width="25%">统计方式：</td>
												<td width="75%">
												<div class="radio">
                                                    <label>
                                                        <input name="totalFlag" type="radio" checked="checked" value="1">
                                                        <span class="text">按分组统计计算</span>
                                                    </label>
                                                      <label>
                                                        <input name="totalFlag" type="radio" value="2">
                                                        <span class="text">按分组列出详情</span>
                                                    </label>
                                             </div></td>
												</tr>
											<tr>
									</table>
                                </div>
                            </div>
                            <div class="actions actions-footer" id="simplewizard-actions">
                                <div class="btn-group">
                                    <button type="button" class="btn btn-default btn-sm btn-prev"> <i class="fa fa-angle-left"></i>上一步</button>
                                    <button type="button" class="btn btn-default btn-sm btn-next" data-last="保存">下一步<i class="fa fa-angle-right"></i></button>
                                </div>

                            </div>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
	<div id="orgselectdiv"></div>
	<div class="modal fade bs-example-modal-lg" id="queryModal" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true" style="display: none;">
		<div class="modal-dialog">
			<div class="modal-content">

				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
					<h4 class="modal-title" id="myLargeModalLabel">查询条件设置</h4>
				</div>
				<div class="modal-body">
					<form class="form-horizontal form-bordered" role="form" id="form1">
						<div class="form-group">
							<label class="col-sm-3 control-label no-padding-right">表单字段：</label>
							<div class="col-sm-9">
								<select id="formField" name="formField" class="form-control">
								</select>
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-3 control-label no-padding-right">显示标题：</label>
							<div class="col-sm-9">
								<input type="text" class="form-control" id="queryTitle" name="queryTitle" placeholder="显示标题">
							</div>
						</div>
					</form>

				</div>
				<div class="modal-footer">
					<button type="button" class="btn btn-warning" data-dismiss="modal">取消</button>
					<button type="button" class="btn btn-primary js-addqueryfield">添加</button>
				</div>
			</div>
			<!-- /.modal-content -->
		</div>
		<!-- /.modal-dialog -->
	</div>
	
	<div class="modal fade bs-example-modal-lg" id="tableModal" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true" style="display: none;">
		<div class="modal-dialog">
			<div class="modal-content">

				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
					<h4 class="modal-title" id="myLargeModalLabel">报表设置</h4>
				</div>
				<div class="modal-body">
					<form class="form-horizontal form-bordered" role="form" id="form2">
						<div class="form-group">
							<label class="col-sm-3 control-label no-padding-right">表单字段：</label>
							<div class="col-sm-9">
								<select id="formField1" name="formField1" class="form-control">
								</select>
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-3 control-label no-padding-right">显示标题：</label>
							<div class="col-sm-9">
								<input type="text" class="form-control" id="tableTitle" name="tableTitle" placeholder="显示标题">
							</div>
						</div>
					</form>

				</div>
				<div class="modal-footer">
					<button type="button" class="btn btn-warning" data-dismiss="modal">取消</button>
					<button type="button" class="btn btn-primary js-addtablefield">添加</button>
				</div>
			</div>
			<!-- /.modal-content -->
		</div>
		<!-- /.modal-dialog -->
	</div>
</body>
<%include("../../../resapi/sysjs.html"){}%>
<script type="text/javascript">
var templateId = "${parameter.templateId}";
</script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.core.js"></script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.excheck.js"></script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.exedit.js"></script>
<script type="text/javascript" src="/module/bootstrap-table/bootstrap-table.js"></script>
<script type="text/javascript" src="/module/bootstrap-table/bootstrap-table-zh-CN.js"></script>
<script type="text/javascript" src="/assets/js/fuelux/wizard/wizard-custom.js"></script>
<script type="text/javascript" src="/module/jeDate/jeDate.js"></script>
<script type="text/javascript" src="/module/orgselect/orgselect.js"></script>
<script type="text/javascript" src="/gobal/js/page/bpm/bpmbisetedit.js"></script>
</body>
</html>